add unknown to DateTimeFormatTypes - #50402
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
10b261b to
546f3a5
Compare
|
I removed the |
| "dev": true, | ||
| "requires": { | ||
| "es5-ext": "0.10.53", | ||
| "es5-ext": "^0.10.50", |
There was a problem hiding this comment.
Can you remove the package-lock.json changes?
There was a problem hiding this comment.
yup done!
|
So ECMA-262 has a similar issue with I'm not as familiar with the APIs here, so can you give an idea of how code is intended to handle something like this value? (maybe it can be used as a test-case) |
546f3a5 to
581315f
Compare
|
Daniel Rosenwasser (@DanielRosenwasser) yeah this is something different I believe that's not related to ecma262 See https://github.com/formatjs/formatjs/blob/main/packages/ecma402-abstract/types/date-time.ts#L187 for a reference. I do plan to backmerge formatjs types to TS cause the TS one is pretty outdated. |
|
Okay, I see, so it is classifying each portion of a date string (docs). Whatever it can't handle, it just classifies as I guess the reason that we didn't have this is because the |
581315f to
f083332
Compare
|
It looks like you'll have to accept baselines - we baseline information about internal symbols which are unfortunately affected by changes to |
|
What does that mean 😅 ? |
|
Oh, just run |
|
Thank you! |
Fixes #50401